package com.software.cool.service;

import com.software.cool.entity.TbArea;
import com.software.cool.entity.TreeEntity;

import java.util.List;

/**
 * Service
 */
public interface ITbAreaService {


    /**
     * 添加/修改
     * @param model
     * @return
     */
    boolean edit(TbArea model);

    /**
     * 导入Excel
     * @param model
     * @throws Exception
     */
    void importData(TbArea model)throws Exception;

    /**
     * 导出Excel
     * @param model
     * @throws Exception
     */
    void exportData(TbArea model)throws Exception;

    List<TreeEntity> getMenuTree()throws Exception;

}
